/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Action;

import Entity.Event;
import java.util.Date;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Cyrax
 */
@Local
public interface EventSessionBeanLocal {

    List<Event> ListAllEvent();

    void insertEvent(Event ev);

    void deleteEvent(Event event);

    List<Event> searchEvent(String eventTitle);

    void eventsUpdate(int eventId, int categoryId, String eventTitle, String eventInfo, String eventImg, Date startDate, int du, Date endDate);

    List<Event> listbyCat(String catName);

    

    boolean checkEventTitle(String name);

    public java.util.List<Entity.Event> listAvailableEvent();

    public java.util.List<Entity.Event> listNextEvent();

   
}
